CREATE TABLE users (
  id INT(11) NOT NULL AUTO_INCREMENT,
  userId INT(20) NOT NULL,
  name VARCHAR(50) NULL,
  mobile INT(11) NOT NULL,
  password VARCHAR(50) NOT NULL,
  firstVisitTime INT(20) NULL,
  vip INT(2) NULL,
  fromDate INT(20) NULL,
  toDate INT(20) NULL,
  PRIMARY KEY (id)
);        
         
INSERT INTO users (userId, name,mobile,password,firstVisitTime,vip,fromDate,toDate) VALUES
('1002','xiaojun','18682150175','test1','1695542782600',3,'1695542782600','1695571200000');


alter table users modify toDate VARCHAR(20);
